package cn.wolfcode.util;

import lombok.Getter;

@Getter
public enum CustomerReportEnum {
    NAME("name","b.name"),
    YEAR("year","DATE_FORMAT(c.pay_time,'%Y') "),
    MONTH("month","DATE_FORMAT(c.pay_time,'%Y%m') "),
    DAY("day","DATE_FORMAT(c.pay_time,'%Y%m%d') ");

    private String name;
    private String sql;

    CustomerReportEnum(String name, String sql) {
        this.name = name;
        this.sql = sql;
    }
}
